{#

This file is part of the Sonata package.

(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}

{% extends base_template %}

{% block title %}{% trans from 'SonataAdminBundle' %}title_dashboard{% endtrans %}{% endblock%}
{% block breadcrumb %}{% endblock %}
{% block content %}
    <div class="row">
        <div class="span9">
            {% for block in blocks %}
                {% if block.position == 'left' %}
                    {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
                {% endif %}
            {% endfor %}
        </div>
        <div class="span10">
            {% for block in blocks %}
                {% if block.position == 'right' %}
                    {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
                {% endif %}
            {% endfor %}

            <!-- specific blocks -->
            <div class="cms-block cms-block-element">
                <table class="zebra-striped sonata-ba-list bordered-table">
                    <thead>
                        <tr>
                            <th colspan="2">Synchronisation FFTT</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td class="sonata-ba-list-label">Licenciés (points + matchs)</td>
                            <td>
                                <a href="{{ path('_tableTennisLicenseeSynchro') }}">
                                <img src="/bundles/sonataadmin/famfamfam/transmit.png" alt="Synchroniser">Synchroniser</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>

        </div>
    </div>
{% endblock %}